package cn.com.cennavi.Registrator;

import org.apache.spark.serializer.KryoRegistrator;

import com.esotericsoftware.kryo.Kryo;

import cn.com.cennavi.bean.AverageSpeedData;
import cn.com.cennavi.bean.DiDiOrignalBean;
import cn.com.cennavi.bean.DiDiTrajectory;
import cn.com.cennavi.bean.DidiQueue;
import cn.com.cennavi.bean.DidiQueueStatus;
import cn.com.cennavi.bean.DifPointTotalMapInfo;
import cn.com.cennavi.bean.GPSBean;
import cn.com.cennavi.bean.GpsInBuffer;
import cn.com.cennavi.bean.GpsOrigInfo;
import cn.com.cennavi.bean.HighPrecisionCombineDirTraffic;
//import cn.com.cennavi.bean.HighPrecisionCombineDirTraffic;
import cn.com.cennavi.bean.HighPrecisionSingleDirTraffic;
import cn.com.cennavi.bean.LaneConfigFileData;
import cn.com.cennavi.bean.LinkNode;
import cn.com.cennavi.bean.TrajectoryData;

public class MyRegistrator implements KryoRegistrator {

	@Override
	public void registerClasses(Kryo arg0) {
		// TODO Auto-generated method stub
		arg0.register(AverageSpeedData.class);
		arg0.register(DiDiOrignalBean.class);
		arg0.register(DidiQueueStatus.class);
		arg0.register(DidiQueue.class);
		arg0.register(DiDiTrajectory.class);
		arg0.register(DifPointTotalMapInfo.class);
//		arg0.register(GPSBean.class);
		
//		arg0.register(GpsOrigInfo.class);
		arg0.register(HighPrecisionCombineDirTraffic.class);
		arg0.register(HighPrecisionSingleDirTraffic.class);
		arg0.register(GpsInBuffer.class);
//		arg0.register(LaneConfigFileData.class);
//		arg0.register(LinkNode.class);
//		arg0.register(TrajectoryData.class);
	}

}
